package com.atguigu.dao;

import com.atguigu.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OrderSettingDao {
    void insert(@Param("date") String s, @Param("number") String s1);

    OrderSetting selectDate(@Param("date") String s);

    void update(@Param("date") String s, @Param("number") String s1);

    List<OrderSetting> selectDateList(@Param("date") String date);

    int updateReservations(@Param("orderDate") Date orderDate);

    OrderSetting selectOrderDate(@Param("orderDate") String orderDate);
}
